Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
MKDUMP utility
This sample utility contains a dump/load facility. When you run the MKDUMP utility, it creates two Progress 4GL procedures: one that dumps a database and one that reloads a database. For example, you would run MKDUMP to create a dump/reload facility for the sports database, as follows:
Figure 11–1 shows the files produced by running MKDUMP.
Figure 11–1: Output of mkdump
![]()
The MKDUMP utility runs a Progress 4GL procedure,
mkdump.p, which creates and compiles two other Progress 4GL procedures,filedump.pandfileload.p. Thefiledump.pprocedure dumps the files from a database;fileload.ploads the files into a database.In addition,
mkdump.pcreates two directories. Thedmpprocssubdirectory contains a database dump procedure for each of the files in the database. Theldprocssubdirectory contains a database load procedure for each of the files in the database. Themkdump.pprocedure also precompiles all the procedures it creates. These precompiled procedures may not be appropriate for your use if the deployed database does not have the same name as the original database that MKDUMP was run against.The MKDUMP utility creates these files and subdirectories in your current working directory. Before distributing them to users, you must move them to your application master directory. You can then supply either the encrypted source or object versions of the
filedump.pprocedure,fileload.pprocedure, and each of the procedures in thedmpprocsandldprocssubdirectories.You can modify MKDUMP or any of the
Note: The dump/load procedures should be considered part of your application. The decision to distribute r-code or encrypted source versions of your application procedures applies to the dump/load procedures as well.mkdump.p,filedump.p, orfileload.pprocedures as needed. However, once you have created and perhaps modified the dump/load scripts or batch files, be sure to provide a way for users to use these procedures. You should also provide adequate documentation for users to use the facility.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |